//
//  AXFHomeSever.h
//  AIXF
//
//  Created by zhanghui on 2017/7/9.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFWebServeManager.h"

@interface AXFHomeSever : AXFWebServeManager



/**
 获取首页焦点接口数据

 @param sussBLock 成功的回调
 @param faliBlock 失败的回调
 */
- (void)requestHomeFocusWith:(void(^)(id response))sussBLock
                andFailBlock:(void(^)(NSError *error))faliBlock;




/**
 获取首页新鲜热卖接口数据

 @param sussBLock 成功回调
 @param faliBlock 失败的回调
 */
- (void)requestHomeFirstSellWith:(void(^)(id response))sussBLock
                    andFailBlock:(void(^)(NSError *error))faliBlock;



/**
 获取程序启动的广告接口

 @param sussBLock 成功的回调
 @param faliBlock 失败的回调
 */
- (void)requestWithLaunchAdWith:(void(^)(id response))sussBLock
                   andFailBlock:(void(^)(NSError *error))faliBlock;



/**
 获取搜索最新关键词的数据接口

 @param sussBLock 成功的回调
 @param faliBlock 失败的回调
 */
- (void)requestHomeSearchWith:(void(^)(id response))sussBLock
                 andFailBlock:(void(^)(NSError *error))faliBlock;



/**
 获取搜索结果的网络接口

 @param sussBLock 成功的回调
 @param faliBlock 失败的回调
 */
- (void)requestHomeSearchReult:(void(^)(id response))sussBLock
                  andFailBlock:(void(^)(NSError *error))faliBlock;

@end
